validateUIMessages